Common code for managing RH Ceph Storage bugs.
Some of these utilities can run in Jenkins, others are human decision amplifiers.
The triage tool has two commands, update
and report
.
The update
subcommand will query all BZs for a release and prompt the user to describe the next action for each BZ.
Shortcuts for update
descriptions:
.autobug
- Ken to autobug.c
- {assignee} to cherry-pick to {patches_branch}.help
- this text.n
- {assignee} determine next step for this BZ.up
- to fix upstream and cherry-pick to {patches_branch} downstream
The report
subcommand will print a report to STDOUT for this release.
The retarget
tool will mass-retarget bugs from one target release to another. :
./bin/retarget 6.1z6 6.1z7 "6.1z6 is a minimal release for CVE-2023-49569 (bug 2259725). retargeting to 6.1z7" 2259725 2273724
- Comment in BZ with the exact commits that were pushed to
-patches
branch. (Only do this if it was a simple push without any rebase). - Listen and parse dist-git messagebus messages.
- Listen and parse Gerrit plugin events (
-patches
branches). - Update "Fixed In Version" field when dist-git changes.
- Move bug to "MODIFIED" when both RHEL and Ubuntu "Fixed In Version" are set.
- Attach bug to Errata Tool advisory when build completes.
- Refactor "update" to a curses GUI.
- Write some "assistence" plugins
- "default suggestion" plugin or code:
If in NEW or ASSIGNED
- If assignee is not a manager: "<assignee> to determine next step for this BZ"
- If assignee is a manager: "<assignee> to assign to an engineer"
- If in POST and no Fixed In Version set:
- "Ken to set Fixed In Version and attach to ET"
- If in POST and Fixed In Version set: manually verify that fix is in the latest build
- If in POST/MODIFIED and FIV: "Ken to attach to ET"
- "default suggestion" plugin or code:
- Is there a upstream ticket attached?
- What were the last changes since "last updated time"?
- Highlight "hot_fix_requested" in the report, because these are high-priority.
- Some report of "time spent waiting on development"
- Ignore the following changes:
- PM Score field update by ccit-bugzilla@redhat.com
- QA Whiteboard changes
- TestBlocker keyword addition or removal
- CC field changes
- QA Contact changes